home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Concept 6
/
CD Concept 06.iso
/
mac
/
UTILITAIRE
/
RLaB
/
rlib
/
symm.r
< prev
next >
Wrap
Text File
|
1994-02-21
|
232b
|
11 lines
//
// SYMM SYMM(A) is the symmetric (Hermitian) part of A, (A+A')/2.
// It is the nearest symmetric (Hermitian) matrix to A in both the
// 2- and the Frobenius norms.
//
symm = function( A )
{
return (A + A')./2;
};